<%@ page language="java" contentType="text/html;charset=UTF-8" %><%@ include file="../../inc/global.jsp" 
%><compress:html enabled="true" removeComments="false" compressJavaScript="true" yuiJsDisableOptimizations="true">
<!doctype html>
<html>
<head>
<title>${adminGlobalConfig.name}</title>
<%@include file="../head.jsp" %>
<style type="text/css">
#goodsList table tr, #goodsList table td {
	height:22px;
}
.sellItem { margin-left:7px;}
</style>
<script type="text/javascript"> 
$(document).ready(function() {
	
});
</script> 
</head>
<body>
<div class="wrapper">
<%@include file="../header.jsp" %>
<div class="body">
<div class="form">
<form:form action="/a/village/form" method="POST" commandName="form">
<table>
<tr>
<th>城镇</th>
<td>
<select id="townId" name="townId">
<option>选择城镇</option>
<c:forEach var="item" items="${townList}">
<c:if test="${form.townId == item.id}">
<option value="${item.id}" selected="selected">${item.name}</option>
</c:if>
<c:if test="${form.townId != item.id}">
<option value="${item.id}">${item.name}</option>
</c:if>
</c:forEach>
</select>
</td>
</tr>
<tr>
<th>名称：</th>
<td><form:input path="name"/></td>
</tr>
<tr>
<th></th>
<td>
<input type="submit" id="save" name="save" value="确定保存" />
<input type="hidden" id="id" name="id" value="${form.id}" />
</td>
</tr>
</table>
</form:form>
</div>
<!--  -->
</div>
</div>
</body>
</html>
</compress:html>